package com.qianli.cashmama.trade.entity;
import com.fqgj.common.entity.BaseEntity;
import java.math.BigDecimal;
import java.util.Date;
/**
* User: anonymous
* Date: 2020-12-02
* Time: 19:55:25.855
* TableDesc:
*/
public class TTradeEntity extends BaseEntity{
    /**
    *机构code
    */
    private String merchantCode;
    /**
    *交易编码
    */
    private String tradeNo;
    /**
    *客户code
    */
    private String customerCode;
    /**
    *用户code
    */
    private String userCode;
    /**
    *渠道code
    */
    private String channelCode;
    /**
    *产品code
    */
    private String productCode;
    /**
    *产品类目
    */
    private String productCategory;
    /**
    *客户端类型
    */
    private Integer clientType;
    /**
    *订单状态 0初始化 1创建成功 2等待信审回执 3等待放款回执 4待重绑卡 5 待还款 6逾期中 7 交易关闭 8等待息费成功支付回执,9待签约
    */
    private Integer orderStatus;
    /**
    *签名状态 1成功 2失败
    */
    private Integer signStatus;
    /**
    *信审状态 1成功 2失败
    */
    private Integer auditStatus;
    /**
    *信审子状态 0-审核中 1-通过 2-拒绝 3-等待highmark
    */
    private Integer auditSubStatus;
    /**
    *交易类型 0:内部订单(默认) 1:降额产品 2:导流复制的产品
    */
    private Integer orderType;
    /**
    *支付状态 1成功 2 失败
    */
    private Integer payStatus;
    /**
    *借款总金额
    */
    private BigDecimal borrowTotalCapital;
    /**
    *到账总金额
    */
    private BigDecimal receivedTotalCapital;
    /**
    *应还总金额
    */
    private BigDecimal repaymentTotalCapital;
    /**
    *已还总金额
    */
    private BigDecimal paidTotalCapital;
    /**
    *优惠总金额
    */
    private BigDecimal discountTotalCapital;
    /**
    *总服务费
    */
    private BigDecimal totalServiceFee;
    /**
    *借款利率
    */
    private BigDecimal borrowRatio;
    /**
    *总期数
    */
    private Integer totalPeriod;
    /**
    *已还期数
    */
    private Integer paidPeriod;
    /**
    *间隔单位 1 日 2：周 3 月 4：年
    */
    private Integer borrowDuration;
    /**
    *每一期的长度
    */
    private Integer periodLength;
    /**
    *总逾期服务费
    */
    private BigDecimal totalOverdueServiceFee;
    /**
    *总逾期费
    */
    private BigDecimal totalOverdueFee;
    /**
    *单次逾期费
    */
    private BigDecimal overdueServiceFee;
    /**
    *逾期利率
    */
    private BigDecimal overdueRatio;
    /**
    *信审反馈时间
    */
    private Date auditDate;
    /**
    *到账时间
    */
    private Date receivedDate;
    /**
    *还清时间
    */
    private Date payOffDate;
    /**
    *交易编码
    */
    private String payNo;
    /**
    *资金方
    */
    private String capitalCode;
    /**
    *是否是新客 1：新客  0 老客
    */
    private Integer isNewUser;
    /**
    *
    */
    private Long orderId;
    /**
    *简单备注
    */
    private String remark;
    /**
    *息费支付流水号【吴加鹏】
    */
    private String servicefeePayflowNo;
    /**
    *借款用途 0:无(默认) 【吴加鹏】
    */
    private Integer usageOfLoan;
    /**
    *额外信息
    */
    private String extraData;
    /**
    *
    */
    private Date createDt;


    public  String getMerchantCode(){
        return this.merchantCode;
    }

    public  TTradeEntity setMerchantCode(String merchantCode){
        this.merchantCode = merchantCode;
        return this;
    }

    public  String getTradeNo(){
        return this.tradeNo;
    }

    public  TTradeEntity setTradeNo(String tradeNo){
        this.tradeNo = tradeNo;
        return this;
    }

    public  String getCustomerCode(){
        return this.customerCode;
    }

    public  TTradeEntity setCustomerCode(String customerCode){
        this.customerCode = customerCode;
        return this;
    }

    public  String getUserCode(){
        return this.userCode;
    }

    public  TTradeEntity setUserCode(String userCode){
        this.userCode = userCode;
        return this;
    }

    public  String getChannelCode(){
        return this.channelCode;
    }

    public  TTradeEntity setChannelCode(String channelCode){
        this.channelCode = channelCode;
        return this;
    }

    public  String getProductCode(){
        return this.productCode;
    }

    public  TTradeEntity setProductCode(String productCode){
        this.productCode = productCode;
        return this;
    }

    public  String getProductCategory(){
        return this.productCategory;
    }

    public  TTradeEntity setProductCategory(String productCategory){
        this.productCategory = productCategory;
        return this;
    }

    public  Integer getClientType(){
        return this.clientType;
    }

    public  TTradeEntity setClientType(Integer clientType){
        this.clientType = clientType;
        return this;
    }

    public  Integer getOrderStatus(){
        return this.orderStatus;
    }

    public  TTradeEntity setOrderStatus(Integer orderStatus){
        this.orderStatus = orderStatus;
        return this;
    }

    public  Integer getSignStatus(){
        return this.signStatus;
    }

    public  TTradeEntity setSignStatus(Integer signStatus){
        this.signStatus = signStatus;
        return this;
    }

    public  Integer getAuditStatus(){
        return this.auditStatus;
    }

    public  TTradeEntity setAuditStatus(Integer auditStatus){
        this.auditStatus = auditStatus;
        return this;
    }

    public  Integer getAuditSubStatus(){
        return this.auditSubStatus;
    }

    public  TTradeEntity setAuditSubStatus(Integer auditSubStatus){
        this.auditSubStatus = auditSubStatus;
        return this;
    }

    public  Integer getOrderType(){
        return this.orderType;
    }

    public  TTradeEntity setOrderType(Integer orderType){
        this.orderType = orderType;
        return this;
    }

    public  Integer getPayStatus(){
        return this.payStatus;
    }

    public  TTradeEntity setPayStatus(Integer payStatus){
        this.payStatus = payStatus;
        return this;
    }

    public  BigDecimal getBorrowTotalCapital(){
        return this.borrowTotalCapital;
    }

    public  TTradeEntity setBorrowTotalCapital(BigDecimal borrowTotalCapital){
        this.borrowTotalCapital = borrowTotalCapital;
        return this;
    }

    public  BigDecimal getReceivedTotalCapital(){
        return this.receivedTotalCapital;
    }

    public  TTradeEntity setReceivedTotalCapital(BigDecimal receivedTotalCapital){
        this.receivedTotalCapital = receivedTotalCapital;
        return this;
    }

    public  BigDecimal getRepaymentTotalCapital(){
        return this.repaymentTotalCapital;
    }

    public  TTradeEntity setRepaymentTotalCapital(BigDecimal repaymentTotalCapital){
        this.repaymentTotalCapital = repaymentTotalCapital;
        return this;
    }

    public  BigDecimal getPaidTotalCapital(){
        return this.paidTotalCapital;
    }

    public  TTradeEntity setPaidTotalCapital(BigDecimal paidTotalCapital){
        this.paidTotalCapital = paidTotalCapital;
        return this;
    }

    public  BigDecimal getDiscountTotalCapital(){
        return this.discountTotalCapital;
    }

    public  TTradeEntity setDiscountTotalCapital(BigDecimal discountTotalCapital){
        this.discountTotalCapital = discountTotalCapital;
        return this;
    }

    public  BigDecimal getTotalServiceFee(){
        return this.totalServiceFee;
    }

    public  TTradeEntity setTotalServiceFee(BigDecimal totalServiceFee){
        this.totalServiceFee = totalServiceFee;
        return this;
    }

    public  BigDecimal getBorrowRatio(){
        return this.borrowRatio;
    }

    public  TTradeEntity setBorrowRatio(BigDecimal borrowRatio){
        this.borrowRatio = borrowRatio;
        return this;
    }

    public  Integer getTotalPeriod(){
        return this.totalPeriod;
    }

    public  TTradeEntity setTotalPeriod(Integer totalPeriod){
        this.totalPeriod = totalPeriod;
        return this;
    }

    public  Integer getPaidPeriod(){
        return this.paidPeriod;
    }

    public  TTradeEntity setPaidPeriod(Integer paidPeriod){
        this.paidPeriod = paidPeriod;
        return this;
    }

    public  Integer getBorrowDuration(){
        return this.borrowDuration;
    }

    public  TTradeEntity setBorrowDuration(Integer borrowDuration){
        this.borrowDuration = borrowDuration;
        return this;
    }

    public  Integer getPeriodLength(){
        return this.periodLength;
    }

    public  TTradeEntity setPeriodLength(Integer periodLength){
        this.periodLength = periodLength;
        return this;
    }

    public  BigDecimal getTotalOverdueServiceFee(){
        return this.totalOverdueServiceFee;
    }

    public  TTradeEntity setTotalOverdueServiceFee(BigDecimal totalOverdueServiceFee){
        this.totalOverdueServiceFee = totalOverdueServiceFee;
        return this;
    }

    public  BigDecimal getTotalOverdueFee(){
        return this.totalOverdueFee;
    }

    public  TTradeEntity setTotalOverdueFee(BigDecimal totalOverdueFee){
        this.totalOverdueFee = totalOverdueFee;
        return this;
    }

    public  BigDecimal getOverdueServiceFee(){
        return this.overdueServiceFee;
    }

    public  TTradeEntity setOverdueServiceFee(BigDecimal overdueServiceFee){
        this.overdueServiceFee = overdueServiceFee;
        return this;
    }

    public  BigDecimal getOverdueRatio(){
        return this.overdueRatio;
    }

    public  TTradeEntity setOverdueRatio(BigDecimal overdueRatio){
        this.overdueRatio = overdueRatio;
        return this;
    }

    public  Date getAuditDate(){
        return this.auditDate;
    }

    public  TTradeEntity setAuditDate(Date auditDate){
        this.auditDate = auditDate;
        return this;
    }

    public  Date getReceivedDate(){
        return this.receivedDate;
    }

    public  TTradeEntity setReceivedDate(Date receivedDate){
        this.receivedDate = receivedDate;
        return this;
    }

    public  Date getPayOffDate(){
        return this.payOffDate;
    }

    public  TTradeEntity setPayOffDate(Date payOffDate){
        this.payOffDate = payOffDate;
        return this;
    }

    public  String getPayNo(){
        return this.payNo;
    }

    public  TTradeEntity setPayNo(String payNo){
        this.payNo = payNo;
        return this;
    }

    public  String getCapitalCode(){
        return this.capitalCode;
    }

    public  TTradeEntity setCapitalCode(String capitalCode){
        this.capitalCode = capitalCode;
        return this;
    }

    public  Integer getIsNewUser(){
        return this.isNewUser;
    }

    public  TTradeEntity setIsNewUser(Integer isNewUser){
        this.isNewUser = isNewUser;
        return this;
    }

    public  Long getOrderId(){
        return this.orderId;
    }

    public  TTradeEntity setOrderId(Long orderId){
        this.orderId = orderId;
        return this;
    }

    public  String getRemark(){
        return this.remark;
    }

    public  TTradeEntity setRemark(String remark){
        this.remark = remark;
        return this;
    }

    public  String getServicefeePayflowNo(){
        return this.servicefeePayflowNo;
    }

    public  TTradeEntity setServicefeePayflowNo(String servicefeePayflowNo){
        this.servicefeePayflowNo = servicefeePayflowNo;
        return this;
    }

    public  Integer getUsageOfLoan(){
        return this.usageOfLoan;
    }

    public  TTradeEntity setUsageOfLoan(Integer usageOfLoan){
        this.usageOfLoan = usageOfLoan;
        return this;
    }

    public  String getExtraData(){
        return this.extraData;
    }

    public  TTradeEntity setExtraData(String extraData){
        this.extraData = extraData;
        return this;
    }

    public  Date getCreateDt(){
        return this.createDt;
    }

    public  TTradeEntity setCreateDt(Date createDt){
        this.createDt = createDt;
        return this;
    }
}
